package breaktest;

public class BreakTest {
	public static void main ( String[] args ) {
		int k = 0;
		boolean breakFlag = false;
		for (int i = 0; i < 1000; i++) {
			if(breakFlag) {
				break;
			}
			for (int j = 0; j < 1000; j++) {
				if(j == 100) {
					breakFlag = true;
					break;
				}
				k++;
			}
		}
		System.out.println(k);
	}
}
